package com.woniu.service;

import com.woniu.entity.Major1;
import com.woniu.pojo.Major;

import java.util.List;

public interface MajorService {
    void add(Major major);

    void deleteById(Integer id);

    void deleteByIds(Integer[] ids);

    Major findOne(Integer id);

    void updateById(Major major);

    List<Major> selectByExample(Major major);


    Major1 findOne1(Integer id);
    List<Major1> selectByExample1(Major major);
}
